#pragma once
#include <windows.h>

class CUIRect
{
public:
    CUIRect();

    CUIRect( int iLeft, int iTop, int iWidth, int iHeight );

    virtual ~CUIRect();

    CUIRect( const CUIRect& uiRect );

    void SetPosition( int iLeft, int iTop );

    void SetSize( int iWidth, int iHeight );

    int GetWidth()const;

    int GetHeight()const;

    int GetLeft()const;

    int GetTop()const;

    int GetRight()const;

    int GetBottom()const;

    POINT GetPosition()const;

    SIZE GetSize()const;

private:
    int m_iLeft;
    int m_iTop;
    int m_iWidth;
    int m_iHeight;
};